{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { TinyColor } from '@ctrl/tinycolor';\nimport { genCollapseMotion, initSlideMotion, initZoomMotion } from '../../style/motion';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport getHorizontalStyle from './horizontal';\nimport getRTLStyle from './rtl';\nimport getThemeStyle from './theme';\nimport getVerticalStyle from './vertical';\nimport { clearFix, resetComponent, resetIcon } from '../../style';\nvar genMenuItemStyle = function genMenuItemStyle(token) {\n  var _$concat$concat, _ref2;\n  var componentCls = token.componentCls,\n    fontSize = token.fontSize,\n    motionDurationSlow = token.motionDurationSlow,\n    motionDurationMid = token.motionDurationMid,\n    motionEaseInOut = token.motionEaseInOut,\n    motionEaseOut = token.motionEaseOut,\n    iconCls = token.iconCls,\n    controlHeightSM = token.controlHeightSM;\n  return _ref2 = {}, _defineProperty(_ref2, \"\".concat(componentCls, \"-item, \").concat(componentCls, \"-submenu-title\"), (_$concat$concat = {\n    position: 'relative',\n    display: 'block',\n    margin: 0,\n    whiteSpace: 'nowrap',\n    cursor: 'pointer',\n    transition: [\"border-color \".concat(motionDurationSlow), \"background \".concat(motionDurationSlow), \"padding \".concat(motionDurationSlow, \" \").concat(motionEaseInOut)].join(',')\n  }, _defineProperty(_$concat$concat, \"\".concat(componentCls, \"-item-icon, \").concat(iconCls), {\n    minWidth: fontSize,\n    fontSize: fontSize,\n    transition: [\"font-size \".concat(motionDurationMid, \" \").concat(motionEaseOut), \"margin \".concat(motionDurationSlow, \" \").concat(motionEaseInOut), \"color \".concat(motionDurationSlow)].join(','),\n    '+ span': {\n      marginInlineStart: controlHeightSM - fontSize,\n      opacity: 1,\n      transition: [\"opacity \".concat(motionDurationSlow, \" \").concat(motionEaseInOut), \"margin \".concat(motionDurationSlow), \"color \".concat(motionDurationSlow)].join(',')\n    }\n  }), _defineProperty(_$concat$concat, \"\".concat(componentCls, \"-item-icon\"), Object.assign({}, resetIcon())), _defineProperty(_$concat$concat, \"&\".concat(componentCls, \"-item-only-child\"), _defineProperty({}, \"> \".concat(iconCls, \", > \").concat(componentCls, \"-item-icon\"), {\n    marginInlineEnd: 0\n  })), _$concat$concat)), _defineProperty(_ref2, \"\".concat(componentCls, \"-item-disabled, \").concat(componentCls, \"-submenu-disabled\"), _defineProperty({\n    background: 'none !important',\n    cursor: 'not-allowed',\n    '&::after': {\n      borderColor: 'transparent !important'\n    },\n    a: {\n      color: 'inherit !important'\n    }\n  }, \"> \".concat(componentCls, \"-submenu-title\"), {\n    color: 'inherit !important',\n    cursor: 'not-allowed'\n  })), _ref2;\n};\nvar genSubMenuArrowStyle = function genSubMenuArrowStyle(token) {\n  var _$concat2;\n  var componentCls = token.componentCls,\n    motionDurationSlow = token.motionDurationSlow,\n    motionEaseInOut = token.motionEaseInOut,\n    borderRadius = token.borderRadius,\n    menuArrowSize = token.menuArrowSize,\n    menuArrowOffset = token.menuArrowOffset;\n  return _defineProperty({}, \"\".concat(componentCls, \"-submenu\"), (_$concat2 = {}, _defineProperty(_$concat2, \"&-expand-icon, &-arrow\", {\n    position: 'absolute',\n    top: '50%',\n    insetInlineEnd: token.margin,\n    width: menuArrowSize,\n    color: 'currentcolor',\n    transform: 'translateY(-50%)',\n    transition: \"transform \".concat(motionDurationSlow, \" \").concat(motionEaseInOut)\n  }), _defineProperty(_$concat2, '&-arrow', {\n    // →\n    '&::before, &::after': {\n      position: 'absolute',\n      width: menuArrowSize * 0.6,\n      height: menuArrowSize * 0.15,\n      backgroundColor: 'currentcolor',\n      borderRadius: borderRadius,\n      transition: [\"background \".concat(motionDurationSlow, \" \").concat(motionEaseInOut), \"transform \".concat(motionDurationSlow, \" \").concat(motionEaseInOut), \"top \".concat(motionDurationSlow, \" \").concat(motionEaseInOut), \"color \".concat(motionDurationSlow, \" \").concat(motionEaseInOut)].join(','),\n      content: '\"\"'\n    },\n    '&::before': {\n      transform: \"rotate(45deg) translateY(-\".concat(menuArrowOffset, \")\")\n    },\n    '&::after': {\n      transform: \"rotate(-45deg) translateY(\".concat(menuArrowOffset, \")\")\n    }\n  }), _$concat2));\n};\n// =============================== Base ===============================\nvar getBaseStyle = function getBaseStyle(token) {\n  var _Object$assign2, _Object$assign3, _Object$assign4, _Object$assign5;\n  var antCls = token.antCls,\n    componentCls = token.componentCls,\n    fontSize = token.fontSize,\n    motionDurationSlow = token.motionDurationSlow,\n    motionDurationMid = token.motionDurationMid,\n    motionEaseInOut = token.motionEaseInOut,\n    lineHeight = token.lineHeight,\n    paddingXS = token.paddingXS,\n    padding = token.padding,\n    colorSplit = token.colorSplit,\n    lineWidth = token.lineWidth,\n    zIndexPopup = token.zIndexPopup,\n    borderRadiusLG = token.borderRadiusLG,\n    radiusSubMenuItem = token.radiusSubMenuItem,\n    menuArrowSize = token.menuArrowSize,\n    menuArrowOffset = token.menuArrowOffset,\n    lineType = token.lineType,\n    menuPanelMaskInset = token.menuPanelMaskInset;\n  return [// Misc\n  _defineProperty({\n    '': _defineProperty({}, \"\".concat(componentCls), Object.assign(Object.assign({}, clearFix()), _defineProperty({}, \"&-hidden\", {\n      display: 'none'\n    })))\n  }, \"\".concat(componentCls, \"-submenu-hidden\"), {\n    display: 'none'\n  }), _defineProperty({}, componentCls, Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), clearFix()), (_Object$assign2 = {\n    marginBottom: 0,\n    paddingInlineStart: 0,\n    // Override default ul/ol\n    fontSize: fontSize,\n    lineHeight: 0,\n    listStyle: 'none',\n    outline: 'none',\n    transition: [\"background \".concat(motionDurationSlow), // Magic cubic here but smooth transition\n    \"width \".concat(motionDurationSlow, \" cubic-bezier(0.2, 0, 0, 1) 0s\")].join(',')\n  }, _defineProperty(_Object$assign2, \"ul, ol\", {\n    margin: 0,\n    padding: 0,\n    listStyle: 'none'\n  }), _defineProperty(_Object$assign2, \"&-overflow\", _defineProperty({\n    display: 'flex'\n  }, \"\".concat(componentCls, \"-item\"), {\n    flex: 'none'\n  })), _defineProperty(_Object$assign2, \"\".concat(componentCls, \"-item, \").concat(componentCls, \"-submenu, \").concat(componentCls, \"-submenu-title\"), {\n    borderRadius: token.radiusItem\n  }), _defineProperty(_Object$assign2, \"\".concat(componentCls, \"-item-group-title\"), {\n    padding: \"\".concat(paddingXS, \"px \").concat(padding, \"px\"),\n    fontSize: fontSize,\n    lineHeight: lineHeight,\n    transition: \"all \".concat(motionDurationSlow)\n  }), _defineProperty(_Object$assign2, \"&-horizontal \".concat(componentCls, \"-submenu\"), {\n    transition: [\"border-color \".concat(motionDurationSlow, \" \").concat(motionEaseInOut), \"background \".concat(motionDurationSlow, \" \").concat(motionEaseInOut)].join(',')\n  }), _defineProperty(_Object$assign2, \"\".concat(componentCls, \"-submenu, \").concat(componentCls, \"-submenu-inline\"), {\n    transition: [\"border-color \".concat(motionDurationSlow, \" \").concat(motionEaseInOut), \"background \".concat(motionDurationSlow, \" \").concat(motionEaseInOut), \"padding \".concat(motionDurationMid, \" \").concat(motionEaseInOut)].join(',')\n  }), _defineProperty(_Object$assign2, \"\".concat(componentCls, \"-submenu \").concat(componentCls, \"-sub\"), {\n    cursor: 'initial',\n    transition: [\"background \".concat(motionDurationSlow, \" \").concat(motionEaseInOut), \"padding \".concat(motionDurationSlow, \" \").concat(motionEaseInOut)].join(',')\n  }), _defineProperty(_Object$assign2, \"\".concat(componentCls, \"-title-content\"), {\n    transition: \"color \".concat(motionDurationSlow)\n  }), _defineProperty(_Object$assign2, \"\".concat(componentCls, \"-item a\"), {\n    '&::before': {\n      position: 'absolute',\n      inset: 0,\n      backgroundColor: 'transparent',\n      content: '\"\"'\n    }\n  }), _defineProperty(_Object$assign2, \"\".concat(componentCls, \"-item-divider\"), {\n    overflow: 'hidden',\n    lineHeight: 0,\n    borderColor: colorSplit,\n    borderStyle: lineType,\n    borderTopWidth: lineWidth,\n    marginBlock: lineWidth,\n    padding: 0,\n    '&-dashed': {\n      borderStyle: 'dashed'\n    }\n  }), _Object$assign2)), genMenuItemStyle(token)), (_Object$assign4 = {}, _defineProperty(_Object$assign4, \"\".concat(componentCls, \"-item-group\"), _defineProperty({}, \"\".concat(componentCls, \"-item-group-list\"), _defineProperty({\n    margin: 0,\n    padding: 0\n  }, \"\".concat(componentCls, \"-item, \").concat(componentCls, \"-submenu-title\"), {\n    paddingInline: \"\".concat(fontSize * 2, \"px \").concat(padding, \"px\")\n  }))), _defineProperty(_Object$assign4, '&-submenu', _defineProperty({\n    '&-popup': {\n      position: 'absolute',\n      zIndex: zIndexPopup,\n      background: 'transparent',\n      borderRadius: borderRadiusLG,\n      boxShadow: 'none',\n      transformOrigin: '0 0',\n      // https://github.com/ant-design/ant-design/issues/13955\n      '&::before': {\n        position: 'absolute',\n        inset: \"\".concat(menuPanelMaskInset, \"px 0 0\"),\n        zIndex: -1,\n        width: '100%',\n        height: '100%',\n        opacity: 0,\n        content: '\"\"'\n      }\n    },\n    // https://github.com/ant-design/ant-design/issues/13955\n    '&-placement-rightTop::before': {\n      top: 0,\n      insetInlineStart: menuPanelMaskInset\n    }\n  }, \"> \".concat(componentCls), Object.assign(Object.assign(Object.assign({\n    borderRadius: borderRadiusLG\n  }, genMenuItemStyle(token)), genSubMenuArrowStyle(token)), (_Object$assign3 = {}, _defineProperty(_Object$assign3, \"\".concat(componentCls, \"-item, \").concat(componentCls, \"-submenu > \").concat(componentCls, \"-submenu-title\"), {\n    borderRadius: radiusSubMenuItem\n  }), _defineProperty(_Object$assign3, \"\".concat(componentCls, \"-submenu-title::after\"), {\n    transition: \"transform \".concat(motionDurationSlow, \" \").concat(motionEaseInOut)\n  }), _Object$assign3)))), _Object$assign4)), genSubMenuArrowStyle(token)), (_Object$assign5 = {}, _defineProperty(_Object$assign5, \"&-inline-collapsed \".concat(componentCls, \"-submenu-arrow,\\n        &-inline \").concat(componentCls, \"-submenu-arrow\"), {\n    // ↓\n    '&::before': {\n      transform: \"rotate(-45deg) translateX(\".concat(menuArrowOffset, \")\")\n    },\n    '&::after': {\n      transform: \"rotate(45deg) translateX(-\".concat(menuArrowOffset, \")\")\n    }\n  }), _defineProperty(_Object$assign5, \"\".concat(componentCls, \"-submenu-open\").concat(componentCls, \"-submenu-inline > \").concat(componentCls, \"-submenu-title > \").concat(componentCls, \"-submenu-arrow\"), {\n    // ↑\n    transform: \"translateY(-\".concat(menuArrowSize * 0.2, \"px)\"),\n    '&::after': {\n      transform: \"rotate(-45deg) translateX(-\".concat(menuArrowOffset, \")\")\n    },\n    '&::before': {\n      transform: \"rotate(45deg) translateX(\".concat(menuArrowOffset, \")\")\n    }\n  }), _Object$assign5))), // Integration with header element so menu items have the same height\n  _defineProperty({}, \"\".concat(antCls, \"-layout-header\"), _defineProperty({}, componentCls, {\n    lineHeight: 'inherit'\n  }))];\n};\n// ============================== Export ==============================\nexport default (function (prefixCls, injectStyle) {\n  var useOriginHook = genComponentStyleHook('Menu', function (token, _ref) {\n    var overrideComponentToken = _ref.overrideComponentToken;\n    // Dropdown will handle menu style self. We do not need to handle this.\n    if (injectStyle === false) {\n      return [];\n    }\n    var colorBgElevated = token.colorBgElevated,\n      colorPrimary = token.colorPrimary,\n      colorError = token.colorError,\n      colorErrorHover = token.colorErrorHover,\n      colorTextLightSolid = token.colorTextLightSolid,\n      colorTextSecondary = token.colorTextSecondary;\n    var controlHeightLG = token.controlHeightLG,\n      fontSize = token.fontSize;\n    var menuArrowSize = fontSize / 7 * 5;\n    // Menu Token\n    var menuToken = mergeToken(token, {\n      menuItemHeight: controlHeightLG,\n      menuItemPaddingInline: token.margin,\n      menuArrowSize: menuArrowSize,\n      menuHorizontalHeight: controlHeightLG * 1.15,\n      menuArrowOffset: \"\".concat(menuArrowSize * 0.25, \"px\"),\n      menuPanelMaskInset: -7,\n      menuSubMenuBg: colorBgElevated\n    });\n    var menuDarkToken = mergeToken(menuToken, {\n      colorItemText: new TinyColor(colorTextLightSolid).setAlpha(0.65).toRgbString(),\n      colorItemTextHover: colorTextLightSolid,\n      colorGroupTitle: colorTextSecondary,\n      colorItemTextSelected: colorTextLightSolid,\n      colorItemBg: '#001529',\n      colorSubItemBg: '#000c17',\n      colorItemBgActive: 'transparent',\n      colorItemBgSelected: colorPrimary,\n      colorActiveBarWidth: 0,\n      colorActiveBarHeight: 0,\n      colorActiveBarBorderSize: 0,\n      // Disabled\n      colorItemTextDisabled: new TinyColor(colorTextLightSolid).setAlpha(0.25).toRgbString(),\n      // Danger\n      colorDangerItemText: colorError,\n      colorDangerItemTextHover: colorErrorHover,\n      colorDangerItemTextSelected: colorTextLightSolid,\n      colorDangerItemBgActive: colorError,\n      colorDangerItemBgSelected: colorError,\n      menuSubMenuBg: '#001529'\n    }, Object.assign({}, overrideComponentToken));\n    return [\n    // Basic\n    getBaseStyle(menuToken),\n    // Horizontal\n    getHorizontalStyle(menuToken),\n    // Vertical\n    getVerticalStyle(menuToken),\n    // Theme\n    getThemeStyle(menuToken, 'light'), getThemeStyle(menuDarkToken, 'dark'),\n    // RTL\n    getRTLStyle(menuToken),\n    // Motion\n    genCollapseMotion(menuToken), initSlideMotion(menuToken, 'slide-up'), initSlideMotion(menuToken, 'slide-down'), initZoomMotion(menuToken, 'zoom-big')];\n  }, function (token) {\n    var colorPrimary = token.colorPrimary,\n      colorError = token.colorError,\n      colorTextDisabled = token.colorTextDisabled,\n      colorErrorBg = token.colorErrorBg,\n      colorText = token.colorText,\n      colorTextDescription = token.colorTextDescription,\n      colorBgContainer = token.colorBgContainer,\n      colorFillAlter = token.colorFillAlter,\n      colorFillContent = token.colorFillContent,\n      lineWidth = token.lineWidth,\n      lineWidthBold = token.lineWidthBold,\n      controlItemBgActive = token.controlItemBgActive,\n      colorBgTextHover = token.colorBgTextHover;\n    return {\n      dropdownWidth: 160,\n      zIndexPopup: token.zIndexPopupBase + 50,\n      radiusItem: token.borderRadiusLG,\n      radiusSubMenuItem: token.borderRadiusSM,\n      colorItemText: colorText,\n      colorItemTextHover: colorText,\n      colorItemTextHoverHorizontal: colorPrimary,\n      colorGroupTitle: colorTextDescription,\n      colorItemTextSelected: colorPrimary,\n      colorItemTextSelectedHorizontal: colorPrimary,\n      colorItemBg: colorBgContainer,\n      colorItemBgHover: colorBgTextHover,\n      colorItemBgActive: colorFillContent,\n      colorSubItemBg: colorFillAlter,\n      colorItemBgSelected: controlItemBgActive,\n      colorItemBgSelectedHorizontal: 'transparent',\n      colorActiveBarWidth: 0,\n      colorActiveBarHeight: lineWidthBold,\n      colorActiveBarBorderSize: lineWidth,\n      // Disabled\n      colorItemTextDisabled: colorTextDisabled,\n      // Danger\n      colorDangerItemText: colorError,\n      colorDangerItemTextHover: colorError,\n      colorDangerItemTextSelected: colorError,\n      colorDangerItemBgActive: colorErrorBg,\n      colorDangerItemBgSelected: colorErrorBg,\n      itemMarginInline: token.marginXXS\n    };\n  });\n  return useOriginHook(prefixCls);\n});","map":{"version":3,"names":["TinyColor","genCollapseMotion","initSlideMotion","initZoomMotion","genComponentStyleHook","mergeToken","getHorizontalStyle","getRTLStyle","getThemeStyle","getVerticalStyle","clearFix","resetComponent","resetIcon","genMenuItemStyle","token","componentCls","fontSize","motionDurationSlow","motionDurationMid","motionEaseInOut","motionEaseOut","iconCls","controlHeightSM","position","display","margin","whiteSpace","cursor","transition","join","minWidth","marginInlineStart","opacity","Object","assign","marginInlineEnd","background","borderColor","a","color","genSubMenuArrowStyle","borderRadius","menuArrowSize","menuArrowOffset","top","insetInlineEnd","width","transform","height","backgroundColor","content","getBaseStyle","antCls","lineHeight","paddingXS","padding","colorSplit","lineWidth","zIndexPopup","borderRadiusLG","radiusSubMenuItem","lineType","menuPanelMaskInset","marginBottom","paddingInlineStart","listStyle","outline","flex","radiusItem","inset","overflow","borderStyle","borderTopWidth","marginBlock","paddingInline","zIndex","boxShadow","transformOrigin","insetInlineStart","prefixCls","injectStyle","useOriginHook","_ref","overrideComponentToken","colorBgElevated","colorPrimary","colorError","colorErrorHover","colorTextLightSolid","colorTextSecondary","controlHeightLG","menuToken","menuItemHeight","menuItemPaddingInline","menuHorizontalHeight","menuSubMenuBg","menuDarkToken","colorItemText","setAlpha","toRgbString","colorItemTextHover","colorGroupTitle","colorItemTextSelected","colorItemBg","colorSubItemBg","colorItemBgActive","colorItemBgSelected","colorActiveBarWidth","colorActiveBarHeight","colorActiveBarBorderSize","colorItemTextDisabled","colorDangerItemText","colorDangerItemTextHover","colorDangerItemTextSelected","colorDangerItemBgActive","colorDangerItemBgSelected","colorTextDisabled","colorErrorBg","colorText","colorTextDescription","colorBgContainer","colorFillAlter","colorFillContent","lineWidthBold","controlItemBgActive","colorBgTextHover","dropdownWidth","zIndexPopupBase","borderRadiusSM","colorItemTextHoverHorizontal","colorItemTextSelectedHorizontal","colorItemBgHover","colorItemBgSelectedHorizontal","itemMarginInline","marginXXS"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/menu/style/index.js"],"sourcesContent":["import { TinyColor } from '@ctrl/tinycolor';\nimport { genCollapseMotion, initSlideMotion, initZoomMotion } from '../../style/motion';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport getHorizontalStyle from './horizontal';\nimport getRTLStyle from './rtl';\nimport getThemeStyle from './theme';\nimport getVerticalStyle from './vertical';\nimport { clearFix, resetComponent, resetIcon } from '../../style';\nconst genMenuItemStyle = token => {\n  const {\n    componentCls,\n    fontSize,\n    motionDurationSlow,\n    motionDurationMid,\n    motionEaseInOut,\n    motionEaseOut,\n    iconCls,\n    controlHeightSM\n  } = token;\n  return {\n    // >>>>> Item\n    [`${componentCls}-item, ${componentCls}-submenu-title`]: {\n      position: 'relative',\n      display: 'block',\n      margin: 0,\n      whiteSpace: 'nowrap',\n      cursor: 'pointer',\n      transition: [`border-color ${motionDurationSlow}`, `background ${motionDurationSlow}`, `padding ${motionDurationSlow} ${motionEaseInOut}`].join(','),\n      [`${componentCls}-item-icon, ${iconCls}`]: {\n        minWidth: fontSize,\n        fontSize,\n        transition: [`font-size ${motionDurationMid} ${motionEaseOut}`, `margin ${motionDurationSlow} ${motionEaseInOut}`, `color ${motionDurationSlow}`].join(','),\n        '+ span': {\n          marginInlineStart: controlHeightSM - fontSize,\n          opacity: 1,\n          transition: [`opacity ${motionDurationSlow} ${motionEaseInOut}`, `margin ${motionDurationSlow}`, `color ${motionDurationSlow}`].join(',')\n        }\n      },\n      [`${componentCls}-item-icon`]: Object.assign({}, resetIcon()),\n      [`&${componentCls}-item-only-child`]: {\n        [`> ${iconCls}, > ${componentCls}-item-icon`]: {\n          marginInlineEnd: 0\n        }\n      }\n    },\n    // Disabled state sets text to gray and nukes hover/tab effects\n    [`${componentCls}-item-disabled, ${componentCls}-submenu-disabled`]: {\n      background: 'none !important',\n      cursor: 'not-allowed',\n      '&::after': {\n        borderColor: 'transparent !important'\n      },\n      a: {\n        color: 'inherit !important'\n      },\n      [`> ${componentCls}-submenu-title`]: {\n        color: 'inherit !important',\n        cursor: 'not-allowed'\n      }\n    }\n  };\n};\nconst genSubMenuArrowStyle = token => {\n  const {\n    componentCls,\n    motionDurationSlow,\n    motionEaseInOut,\n    borderRadius,\n    menuArrowSize,\n    menuArrowOffset\n  } = token;\n  return {\n    [`${componentCls}-submenu`]: {\n      [`&-expand-icon, &-arrow`]: {\n        position: 'absolute',\n        top: '50%',\n        insetInlineEnd: token.margin,\n        width: menuArrowSize,\n        color: 'currentcolor',\n        transform: 'translateY(-50%)',\n        transition: `transform ${motionDurationSlow} ${motionEaseInOut}`\n      },\n      '&-arrow': {\n        // →\n        '&::before, &::after': {\n          position: 'absolute',\n          width: menuArrowSize * 0.6,\n          height: menuArrowSize * 0.15,\n          backgroundColor: 'currentcolor',\n          borderRadius,\n          transition: [`background ${motionDurationSlow} ${motionEaseInOut}`, `transform ${motionDurationSlow} ${motionEaseInOut}`, `top ${motionDurationSlow} ${motionEaseInOut}`, `color ${motionDurationSlow} ${motionEaseInOut}`].join(','),\n          content: '\"\"'\n        },\n        '&::before': {\n          transform: `rotate(45deg) translateY(-${menuArrowOffset})`\n        },\n        '&::after': {\n          transform: `rotate(-45deg) translateY(${menuArrowOffset})`\n        }\n      }\n    }\n  };\n};\n// =============================== Base ===============================\nconst getBaseStyle = token => {\n  const {\n    antCls,\n    componentCls,\n    fontSize,\n    motionDurationSlow,\n    motionDurationMid,\n    motionEaseInOut,\n    lineHeight,\n    paddingXS,\n    padding,\n    colorSplit,\n    lineWidth,\n    zIndexPopup,\n    borderRadiusLG,\n    radiusSubMenuItem,\n    menuArrowSize,\n    menuArrowOffset,\n    lineType,\n    menuPanelMaskInset\n  } = token;\n  return [\n  // Misc\n  {\n    '': {\n      [`${componentCls}`]: Object.assign(Object.assign({}, clearFix()), {\n        // Hidden\n        [`&-hidden`]: {\n          display: 'none'\n        }\n      })\n    },\n    [`${componentCls}-submenu-hidden`]: {\n      display: 'none'\n    }\n  }, {\n    [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), clearFix()), {\n      marginBottom: 0,\n      paddingInlineStart: 0,\n      // Override default ul/ol\n      fontSize,\n      lineHeight: 0,\n      listStyle: 'none',\n      outline: 'none',\n      transition: [`background ${motionDurationSlow}`,\n      // Magic cubic here but smooth transition\n      `width ${motionDurationSlow} cubic-bezier(0.2, 0, 0, 1) 0s`].join(','),\n      [`ul, ol`]: {\n        margin: 0,\n        padding: 0,\n        listStyle: 'none'\n      },\n      // Overflow ellipsis\n      [`&-overflow`]: {\n        display: 'flex',\n        [`${componentCls}-item`]: {\n          flex: 'none'\n        }\n      },\n      [`${componentCls}-item, ${componentCls}-submenu, ${componentCls}-submenu-title`]: {\n        borderRadius: token.radiusItem\n      },\n      [`${componentCls}-item-group-title`]: {\n        padding: `${paddingXS}px ${padding}px`,\n        fontSize,\n        lineHeight,\n        transition: `all ${motionDurationSlow}`\n      },\n      [`&-horizontal ${componentCls}-submenu`]: {\n        transition: [`border-color ${motionDurationSlow} ${motionEaseInOut}`, `background ${motionDurationSlow} ${motionEaseInOut}`].join(',')\n      },\n      [`${componentCls}-submenu, ${componentCls}-submenu-inline`]: {\n        transition: [`border-color ${motionDurationSlow} ${motionEaseInOut}`, `background ${motionDurationSlow} ${motionEaseInOut}`, `padding ${motionDurationMid} ${motionEaseInOut}`].join(',')\n      },\n      [`${componentCls}-submenu ${componentCls}-sub`]: {\n        cursor: 'initial',\n        transition: [`background ${motionDurationSlow} ${motionEaseInOut}`, `padding ${motionDurationSlow} ${motionEaseInOut}`].join(',')\n      },\n      [`${componentCls}-title-content`]: {\n        transition: `color ${motionDurationSlow}`\n      },\n      [`${componentCls}-item a`]: {\n        '&::before': {\n          position: 'absolute',\n          inset: 0,\n          backgroundColor: 'transparent',\n          content: '\"\"'\n        }\n      },\n      // Removed a Badge related style seems it's safe\n      // https://github.com/ant-design/ant-design/issues/19809\n      // >>>>> Divider\n      [`${componentCls}-item-divider`]: {\n        overflow: 'hidden',\n        lineHeight: 0,\n        borderColor: colorSplit,\n        borderStyle: lineType,\n        borderTopWidth: lineWidth,\n        marginBlock: lineWidth,\n        padding: 0,\n        '&-dashed': {\n          borderStyle: 'dashed'\n        }\n      }\n    }), genMenuItemStyle(token)), {\n      [`${componentCls}-item-group`]: {\n        [`${componentCls}-item-group-list`]: {\n          margin: 0,\n          padding: 0,\n          [`${componentCls}-item, ${componentCls}-submenu-title`]: {\n            paddingInline: `${fontSize * 2}px ${padding}px`\n          }\n        }\n      },\n      // ======================= Sub Menu =======================\n      '&-submenu': {\n        '&-popup': {\n          position: 'absolute',\n          zIndex: zIndexPopup,\n          background: 'transparent',\n          borderRadius: borderRadiusLG,\n          boxShadow: 'none',\n          transformOrigin: '0 0',\n          // https://github.com/ant-design/ant-design/issues/13955\n          '&::before': {\n            position: 'absolute',\n            inset: `${menuPanelMaskInset}px 0 0`,\n            zIndex: -1,\n            width: '100%',\n            height: '100%',\n            opacity: 0,\n            content: '\"\"'\n          }\n        },\n        // https://github.com/ant-design/ant-design/issues/13955\n        '&-placement-rightTop::before': {\n          top: 0,\n          insetInlineStart: menuPanelMaskInset\n        },\n        [`> ${componentCls}`]: Object.assign(Object.assign(Object.assign({\n          borderRadius: borderRadiusLG\n        }, genMenuItemStyle(token)), genSubMenuArrowStyle(token)), {\n          [`${componentCls}-item, ${componentCls}-submenu > ${componentCls}-submenu-title`]: {\n            borderRadius: radiusSubMenuItem\n          },\n          [`${componentCls}-submenu-title::after`]: {\n            transition: `transform ${motionDurationSlow} ${motionEaseInOut}`\n          }\n        })\n      }\n    }), genSubMenuArrowStyle(token)), {\n      [`&-inline-collapsed ${componentCls}-submenu-arrow,\n        &-inline ${componentCls}-submenu-arrow`]: {\n        // ↓\n        '&::before': {\n          transform: `rotate(-45deg) translateX(${menuArrowOffset})`\n        },\n        '&::after': {\n          transform: `rotate(45deg) translateX(-${menuArrowOffset})`\n        }\n      },\n      [`${componentCls}-submenu-open${componentCls}-submenu-inline > ${componentCls}-submenu-title > ${componentCls}-submenu-arrow`]: {\n        // ↑\n        transform: `translateY(-${menuArrowSize * 0.2}px)`,\n        '&::after': {\n          transform: `rotate(-45deg) translateX(-${menuArrowOffset})`\n        },\n        '&::before': {\n          transform: `rotate(45deg) translateX(${menuArrowOffset})`\n        }\n      }\n    })\n  },\n  // Integration with header element so menu items have the same height\n  {\n    [`${antCls}-layout-header`]: {\n      [componentCls]: {\n        lineHeight: 'inherit'\n      }\n    }\n  }];\n};\n// ============================== Export ==============================\nexport default ((prefixCls, injectStyle) => {\n  const useOriginHook = genComponentStyleHook('Menu', (token, _ref) => {\n    let {\n      overrideComponentToken\n    } = _ref;\n    // Dropdown will handle menu style self. We do not need to handle this.\n    if (injectStyle === false) {\n      return [];\n    }\n    const {\n      colorBgElevated,\n      colorPrimary,\n      colorError,\n      colorErrorHover,\n      colorTextLightSolid,\n      colorTextSecondary\n    } = token;\n    const {\n      controlHeightLG,\n      fontSize\n    } = token;\n    const menuArrowSize = fontSize / 7 * 5;\n    // Menu Token\n    const menuToken = mergeToken(token, {\n      menuItemHeight: controlHeightLG,\n      menuItemPaddingInline: token.margin,\n      menuArrowSize,\n      menuHorizontalHeight: controlHeightLG * 1.15,\n      menuArrowOffset: `${menuArrowSize * 0.25}px`,\n      menuPanelMaskInset: -7,\n      menuSubMenuBg: colorBgElevated\n    });\n    const menuDarkToken = mergeToken(menuToken, {\n      colorItemText: new TinyColor(colorTextLightSolid).setAlpha(0.65).toRgbString(),\n      colorItemTextHover: colorTextLightSolid,\n      colorGroupTitle: colorTextSecondary,\n      colorItemTextSelected: colorTextLightSolid,\n      colorItemBg: '#001529',\n      colorSubItemBg: '#000c17',\n      colorItemBgActive: 'transparent',\n      colorItemBgSelected: colorPrimary,\n      colorActiveBarWidth: 0,\n      colorActiveBarHeight: 0,\n      colorActiveBarBorderSize: 0,\n      // Disabled\n      colorItemTextDisabled: new TinyColor(colorTextLightSolid).setAlpha(0.25).toRgbString(),\n      // Danger\n      colorDangerItemText: colorError,\n      colorDangerItemTextHover: colorErrorHover,\n      colorDangerItemTextSelected: colorTextLightSolid,\n      colorDangerItemBgActive: colorError,\n      colorDangerItemBgSelected: colorError,\n      menuSubMenuBg: '#001529'\n    }, Object.assign({}, overrideComponentToken));\n    return [\n    // Basic\n    getBaseStyle(menuToken),\n    // Horizontal\n    getHorizontalStyle(menuToken),\n    // Vertical\n    getVerticalStyle(menuToken),\n    // Theme\n    getThemeStyle(menuToken, 'light'), getThemeStyle(menuDarkToken, 'dark'),\n    // RTL\n    getRTLStyle(menuToken),\n    // Motion\n    genCollapseMotion(menuToken), initSlideMotion(menuToken, 'slide-up'), initSlideMotion(menuToken, 'slide-down'), initZoomMotion(menuToken, 'zoom-big')];\n  }, token => {\n    const {\n      colorPrimary,\n      colorError,\n      colorTextDisabled,\n      colorErrorBg,\n      colorText,\n      colorTextDescription,\n      colorBgContainer,\n      colorFillAlter,\n      colorFillContent,\n      lineWidth,\n      lineWidthBold,\n      controlItemBgActive,\n      colorBgTextHover\n    } = token;\n    return {\n      dropdownWidth: 160,\n      zIndexPopup: token.zIndexPopupBase + 50,\n      radiusItem: token.borderRadiusLG,\n      radiusSubMenuItem: token.borderRadiusSM,\n      colorItemText: colorText,\n      colorItemTextHover: colorText,\n      colorItemTextHoverHorizontal: colorPrimary,\n      colorGroupTitle: colorTextDescription,\n      colorItemTextSelected: colorPrimary,\n      colorItemTextSelectedHorizontal: colorPrimary,\n      colorItemBg: colorBgContainer,\n      colorItemBgHover: colorBgTextHover,\n      colorItemBgActive: colorFillContent,\n      colorSubItemBg: colorFillAlter,\n      colorItemBgSelected: controlItemBgActive,\n      colorItemBgSelectedHorizontal: 'transparent',\n      colorActiveBarWidth: 0,\n      colorActiveBarHeight: lineWidthBold,\n      colorActiveBarBorderSize: lineWidth,\n      // Disabled\n      colorItemTextDisabled: colorTextDisabled,\n      // Danger\n      colorDangerItemText: colorError,\n      colorDangerItemTextHover: colorError,\n      colorDangerItemTextSelected: colorError,\n      colorDangerItemBgActive: colorErrorBg,\n      colorDangerItemBgSelected: colorErrorBg,\n      itemMarginInline: token.marginXXS\n    };\n  });\n  return useOriginHook(prefixCls);\n});"],"mappings":";AAAA,SAASA,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,iBAAiB,EAAEC,eAAe,EAAEC,cAAc,QAAQ,oBAAoB;AACvF,SAASC,qBAAqB,EAAEC,UAAU,QAAQ,sBAAsB;AACxE,OAAOC,kBAAkB,MAAM,cAAc;AAC7C,OAAOC,WAAW,MAAM,OAAO;AAC/B,OAAOC,aAAa,MAAM,SAAS;AACnC,OAAOC,gBAAgB,MAAM,YAAY;AACzC,SAASC,QAAQ,EAAEC,cAAc,EAAEC,SAAS,QAAQ,aAAa;AACjE,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgB,CAAGC,KAAK,EAAI;EAAA;EAChC,IACEC,YAAY,GAQVD,KAAK,CARPC,YAAY;IACZC,QAAQ,GAONF,KAAK,CAPPE,QAAQ;IACRC,kBAAkB,GAMhBH,KAAK,CANPG,kBAAkB;IAClBC,iBAAiB,GAKfJ,KAAK,CALPI,iBAAiB;IACjBC,eAAe,GAIbL,KAAK,CA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